package com.errol.batchprocessor.employeeaddition.advisorimpl.employee.payload;

import com.renjia.entity.*;
import com.renjia.enums.EmployeeRegisterSourceEnum;
import com.renjia.service.module.employeeaddition.advisorimpl.EmployeeAdvisorTypeEnum;
import com.renjia.service.module.employeeaddition.advisorimpl.common.payload.AbstractEmployeeBatchPayload;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;

import java.util.List;

/**
 * 人员导入批次数据
 *
 * @author zhang xiao bin
 * @version v1.0
 * @date 2021/02/26
 * @since v5.0.6
 **/
public class EmployeeListBatchPayload extends AbstractEmployeeBatchPayload<Object, CoreEmployeeCustomerTmp> {

    public EmployeeListBatchPayload(@NonNull String batchNo, @NonNull CoreEmployeeImportBatch importBatch, @NonNull List<CoreEmployeeCustomerTmp> singleEntityList,
                                    @NonNull EmployeeAdvisorTypeEnum employeeAdvisorType, @NonNull EmployeeRegisterSourceEnum employeeRegisterSource,
                                    @NonNull CoreCustomerChannelMerchant coreCustomerChannelMerchant, @NonNull CoreUser coreUser,
                                    @Nullable CoreChannelMerchant coreChannelMerchant, @Nullable CoreCustomer coreCustomer) {
        super(batchNo, importBatch, null, singleEntityList, employeeAdvisorType, employeeRegisterSource,
                coreCustomerChannelMerchant, coreUser, coreChannelMerchant, coreCustomer);
    }
}
